package com.bbva.gptf.back.dominio;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooEntity(identifierType = Tgpt028PosicionPK.class, versionField = "", table = "TGPT028_POSICION", schema = "DBSGPT")
@RooDbManaged(automaticallyDelete = true)
public class Tgpt028Posicion {
	
	public static List<Tgpt028Posicion> obtienePosicion(List<BigDecimal> contratos) {
		String qlString = "FROM Tgpt028Posicion WHERE cdContrato in (553)";
		return entityManager().createQuery(qlString, Tgpt028Posicion.class).getResultList();
}
}
